home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programmierung
/
Power-Programmierung (Tewi)(1994).iso
/
magazine
/
borllexp
/
blx_1_2
/
stddefs.h
< prev
next >
Wrap
Text File
|
1991-05-02
|
617b
|
41 lines
// stddefs.h
#if !defined(STDDEFS_H)
#if !defined(DWORD)
#define DWORD unsigned long
#endif
inline int max(int a, int b)
{
return ((a > b) ? a : b);
}
inline long max(long a, long b)
{
return ((a > b) ? a : b);
}
inline DWORD max(DWORD a, DWORD b)
{
return ((a > b) ? a : b);
}
inline int min(int a, int b)
{
return ((a < b) ? a : b);
}
inline long min(long a, long b)
{
return ((a < b) ? a : b);
}
inline DWORD min(DWORD a, DWORD b)
{
return ((a < b) ? a : b);
}
#define STDDEFS_H
#endif